package com.atguigu.bean;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import java.util.Set;


/**
 * @ProjectName: edu-realtime
 * @Package: com.atguigu.gmall.bean
 * @ClassName TrafficVideoPlayBean
 * @Author jhh01
 * @Date 2022/9/4 8:40
 * @Description: ${测试代码}
 * @Version 1.0
 */
@Data
@Builder
@AllArgsConstructor
public class TrafficVideoPlayBean {
    // 窗口起始时间
    String stt;

    // 窗口终止时间
    String edt;

    //章节id
    String chapterId;


    // 视频 ID
    @TransientSink
    String videoId;

    // user_id
    @TransientSink
    Set<String> userIdset;


    //视频播放次数
    Long videoplayedcount;


    //累计播放时长
    Long playedtimesum;

    //观看人数
    Long personwatchedcount;

    //人均观看时长
    Double avgtime;

    // 时间戳
    Long ts;



}
